// 树表数据
export const treeData = [
  { label: '一级分类1' },
  { label: '一级分类2' },
  { label: '一级分类3' },
  {
    label: '一级分类4',
    children: [
      { label: '子分类节点1' },
      { label: '子分类节点2' },
      { label: '子分类节点3' },
      { label: '子分类节点4' },
      { label: '子分类节点5' },
    ]
  },
  {
    label: '一级分类5',
    children: [
      { label: '子分类节点1' },
      { label: '子分类节点2' },
      { label: '子分类节点3' },
      { label: '子分类节点4' },
      { label: '子分类节点5' },
    ]
  },
]
// 代码高亮代码
export const codeJs = `function foo() {
  console.log('Hello world')
}
foo()
document.getElementById('bar').innerHTML = '<h1>hello world</h1>'
`

// 级联数据
export const region = [
  {
    name: '山东省',
    value: '1',
    subs: [
      {
        name: '济南市',
        value: '1-1',
      },
      {
        name: '淄博市',
        value: '1-2'
      },
      {
        name: '青岛市',
        value: '1-3'
      },
    ]
  },
  {
    name: '浙江省',
    value: '2',
    subs: [
      {
        name: '杭州市',
        value: '2-1'
      },
      {
        name: '义乌市',
        value: '2-2'
      },
      {
        name: '温州市',
        value: '2-3'
      },
    ]
  },
]